<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<table id="treeGrid" class="easyui-treegrid"
	data-options="
		url: 'sms/list',
		method: 'get',
		rownumbers: true,
		idField: 'id',
		treeField: 'name',
		fit:true,
		fitColumns:true,
		toolbar:[{
			text:'打开',
			iconCls:'icon-add',
			handler:function(){openAddDialog()}
		},'-',{
			text:'关闭',
			iconCls:'icon-edit',
			handler:function(){openEditDialog()}
		}]
	">
<thead>
	<tr>
		<th data-options="field:'id',width:80">ID</th>
		<th data-options="field:'name',width:300">短信设置</th>
		<th data-options="field:'lock',width:80,align:'right'">是否开启</th>
	</tr>
</thead>
</table>